
#include <stddef.h>
#include <SYS\STAT.H>

#define _stat32 _stat

int main(){
	int i ;
	i	= sizeof(struct _stat32) ;
	printf("%d	_stat32.sizeof\n", i);

	i	= offsetof( struct _stat32, st_dev)  ;
	printf("%d	st_dev\n",i );
	i	= offsetof( struct _stat32, st_ino)  ;
	printf("%d	st_ino\n",i );
	i	= offsetof( struct _stat32, st_mode)  ;
	printf("%d	st_mode\n",i );
	i	= offsetof( struct _stat32, st_nlink)  ;
	printf("%d	st_nlink\n",i );
	i	= offsetof( struct _stat32, st_uid)  ;
	printf("%d	st_uid\n",i );
	i	= offsetof( struct _stat32, st_gid)  ;
	printf("%d	st_gid\n",i );
	i	= offsetof( struct _stat32, st_rdev)  ;
	printf("%d	st_rdev\n",i );
	i	= offsetof( struct _stat32, st_size)  ;
	printf("%d	st_size\n",i );
	i	= offsetof( struct _stat32, st_atime)  ;
	printf("%d	st_atime\n",i );
	i	= offsetof( struct _stat32, st_mtime)  ;
	printf("%d	st_mtime\n",i );
	i	= offsetof( struct _stat32, st_ctime)  ;
	printf("%d	st_ctime\n",i );
	return 0;
}